<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
            let sun=prompt("请输入一个值")
        switch(Number(sun)){
            case 1:
                console.log(1111111111);
                break;
            case 2:
                console.log(2222222222);
                break;
            case 3:
                console.log(33333333333);
                break;
            default:
                console.log("只有这一个值");
                break;
        }
    </script>
</body>
</html>